<!--
 * @Author: fengweicong 75202172+fengweicong@users.noreply.github.com
 * @Date: 2022-02-16 16:53:19
 * @LastEditors: fengweicong 75202172+fengweicong@users.noreply.github.com
 * @LastEditTime: 2022-07-21 18:35:10
 * @FilePath: \大宗买卖\ebuy\src\views\Main\Supplier\index.vue
 * @Description: 
 * 
 * Copyright (c) 2022 by fengweicong 75202172+fengweicong@users.noreply.github.com, All Rights Reserved. 
-->
<template>
    <div class="supplier-main">
        <SupplierBar></SupplierBar>
        <link-bar/>
        <div class="content">
            <router-view/>
        </div>
    </div>
</template>

<script>
import SupplierBar from '@/components/SupplierBar'
import LinkBar from '@/components/SupplierBar/link-bar'
export default {
    name:'supplier',
    components:{
        SupplierBar, LinkBar
    },
    data() {
        return {
        }
    },
    created() {
        if (this.$route.query.sid) this.$store.state.supplier.supplier_id = this.$route.query.sid
    }
}
</script>

<style lang="less" scoped>
.supplier-main{
    background-color: @color-supplier-background;
    .content{
        width: @width-content;
        margin: 0 auto;
    }
}

</style>